﻿using ServicesLibrary.DataAccessLayer;
using ServicesLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace ServicesLibrary
{
    
    public class UserService : IUserService
    {
        DataAccesHelper helper = new DataAccesHelper();

        public PROC_GetUserInfoResult getUserInfo(string USERNAME, string SECRET_KEY)
        {
            if (SECRET_KEY != null)
            {
                return helper.getUserInfo(USERNAME);
            }
            else return null;
        }
    }
}
